﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

using Pibby.Core.Persistence;

using dogd;

namespace Pibby.Core
{
	[Table("Thumbnail")]
	public class Thumbnail : Identifiable
	{
		#region Properties

		[Column("Image", StorageType = System.Data.DbType.Binary)]
		public byte[] ImageBytes
		{
			get;
			set;
		}

		#endregion

		#region Columns Names

		public static string GuidColumn { get { return "Guid"; } }
		public static string ImageColumn { get { return "Image"; } }

		#endregion Column Names

	}
}
